﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;  //序列化

[DataContract]//必须申明，否则无法序列化


public class StudentInfo
{
    [DataMember(Name = "userId")]//必须申明，否则无法序列化
    private string _userId;

    public string UserId
    {
        get { return _userId; }
        set { _userId = value; }
    }
    [DataMember(Name = "userName")]//必须申明，否则无法序列化
    private string _userName;

    public string UserName
    {
        get { return _userName; }
        set { _userName = value; }
    }
    [DataMember(Name = "templateId")]//必须申明，否则无法序列化
    private string _templateId;

    public string TemplateId
    {
        get { return _templateId; }
        set { _templateId = value; }
    }
    [DataMember(Name = "pushStartTime")]//必须申明，否则无法序列化
    private string _pushStartTime;

    public string PushStartTime
    {
        get { return _pushStartTime; }
        set { _pushStartTime = value; }
    }
    [DataMember(Name = "eventName")]//必须申明，否则无法序列化
    private string _eventName;

    public string EventName
    {
        get { return _eventName; }
        set { _eventName = value; }
    }
    [DataMember(Name = "pushEndTime")]//必须申明，否则无法序列化
    private string _pushEndTime;

    public string PushEndTime
    {
        get { return _pushEndTime; }
        set { _pushEndTime = value; }
    }
    [DataMember(Name = "userCode")]//必须申明，否则无法序列化
    private string _userCode;

    public string UserCode
    {
        get { return _userCode; }
        set { _userCode = value; }
    }
    [DataMember(Name = "className")]//必须申明，否则无法序列化
    private string _className;

    public string ClassName
    {
        get { return _className; }
        set { _className = value; }
    }
    [DataMember(Name = "confirmType")]//必须申明，否则无法序列化
    private string _confirmType;

    public string ConfirmType
    {
        get { return _confirmType; }
        set { _confirmType = value; }
    }
    [DataMember(Name = "profession")]//必须申明，否则无法序列化
    private string _profession;

    public string Profession
    {
        get { return _profession; }
        set { _profession = value; }
    }

    //public string UserId { get => _userId; set => _userId = value; }
    //public string UserName { get => _userName; set => _userName = value; }
    //public string templateId { get => _templateId; set => _templateId = value; }
    //public string eventName { get => _eventName; set => _eventName = value; }
    //public string pushStartTime { get => _pushStartTime; set => _pushStartTime = value; }
    //public string pushEndTime { get => _pushEndTime; set => _pushEndTime = value; }
    //public string userCode { get => _userCode; set => _userCode = value; }
    //public string ClassName { get => _className; set => _className = value; }
    //public string ConfirmType { get => _confirmType; set => _confirmType = value; }
    //public string Profession { get => _profession; set => _profession = value; }

    //
}


